import { Map, List } from 'immutable'
const defaultState = Map({
    list: List([])
})

const reducer = (state = defaultState, action) => {
    switch(action.type) {
        case 'loadDataDoctorTeam':
            return state.set('list', action.list)
        default:
            return state
    }
}
export default reducer